package com.yd.sdk.ad;

public interface IAdListener {

    /// <summary>
    /// 广告加载成功
    /// </summary>
    /// <param name="type">广告类型</param>
    void OnAdSucessToLoad(IAd.AdType type);

    /// <summary>
    /// 广告加载失败
    /// </summary>
    /// <param name="type">广告类型</param>
    /// <param name="message">失败消息</param>
    void OnAdFailedToLoad(IAd.AdType type, String message);

    /// <summary>
    /// 广告打开
    /// </summary>
    /// <param name="type"></param>
    void OnAdOpened(IAd.AdType type);

    /// <summary>
    /// 广告关闭
    /// </summary>
    /// <param name="type">广告类型</param>
    /// <param name="reward">额外奖励</param>
    void OnAdClosed(IAd.AdType type, String reward);

}
